import { JSONContent } from '@valuation/core';


export const content: JSONContent = {
  id: '100',
  type: 'GCXM',
  content: [
    {
      id: '99',
      type: 'DW',
      content: [
        {
          id: '1',
          type: 'treeNode',
          attrs: {
            isStandard: 1,
            standardId: 'STD001',
            isCostDe: 0,
            kind: 1,
          },
          content: [
            {
              id: '2',
              type: 'code',
              content: [],
              attrs: {
                value: 'CODE001',
              },
            },
            {
              id: '3',
              type: 'unit',
              content: [],
              attrs: {
                value: 'm²',
              },
            },
            {
              id: '4',
              type: 'name',
              content: [],
              attrs: {
                value: 'Example Item',
              },
            },
            {
              id: '5',
              type: 'projectAttr',
              content: [],
              attrs: {
                value: 'Attribute Value',
              },
            },
            {
              id: '6',
              type: 'quantity',
              content: [],
              attrs: {
                value: 100,
              },
            },
            {
              id: '7',
              type: 'quantityExpression',
              content: [],
              attrs: {
                value: '10 * 10',
              },
            },
            {
              id: '8',
              type: 'sbfPrice',
              content: [],
              attrs: {
                value: 50,
              },
            },
            {
              id: '9',
              type: 'sbfTotal',
              content: [],
              attrs: {
                value: 5000,
              },
            },
            {
              id: '10',
              type: 'zgfPrice',
              content: [],
              attrs: {
                value: 30,
              },
            },
            {
              id: '11',
              type: 'zgfTotal',
              content: [],
              attrs: {
                value: 3000,
              },
            },
            {
              id: '12',
              type: 'children',
              content: [
                {
                  id: '13',
                  type: 'treeNode',
                  attrs: {
                    isStandard: 0,
                    standardId: null,
                    isCostDe: 1,
                    kind: 2,
                  },
                  content: [
                    {
                      id: '14',
                      type: 'code',
                      content: [],
                      attrs: {
                        value: 'CODE002',
                      },
                    },
                    {
                      id: '15',
                      type: 'unit',
                      content: [],
                      attrs: {
                        value: 'kg',
                      },
                    },
                    {
                      id: '16',
                      type: 'name',
                      content: [],
                      attrs: {
                        value: 'Sub Item',
                      },
                    },
                    {
                      id: '17',
                      type: 'projectAttr',
                      content: [],
                      attrs: {
                        value: 'Sub Attribute',
                      },
                    },
                    {
                      id: '18',
                      type: 'quantity',
                      content: [],
                      attrs: {
                        value: 50,
                      },
                    },
                    {
                      id: '19',
                      type: 'quantityExpression',
                      content: [],
                      attrs: {
                        value: '5 * 10',
                      },
                    },
                    {
                      id: '20',
                      type: 'sbfPrice',
                      content: [],
                      attrs: {
                        value: 20,
                      },
                    },
                    {
                      id: '21',
                      type: 'sbfTotal',
                      content: [],
                      attrs: {
                        value: 1000,
                      },
                    },
                  ],
                },
              ],
            },
          ],
        },
      ],
    },

  ],
};
export const xmlContent = '<Node id="100" type="GCXM"><Node id="99" type="DW"><Node isStandard="0" standardId="null" isCostDe="100" kind="1" id="1" type="treeNode"><Node value="CODE001" id="2" type="code"></Node><Node value="m²" id="3" type="unit"></Node><Node value="Example Item" id="4" type="name"></Node><Node value="Attribute Value" id="5" type="projectAttr"></Node><Node value="100" id="6" type="quantity"></Node><Node value="10 * 10" id="7" type="quantityExpression"></Node><Node value="50" id="8" type="sbfPrice"></Node><Node value="5000" id="9" type="sbfTotal"></Node><Node value="30" id="10" type="zgfPrice"></Node><Node value="3000" id="11" type="zgfTotal"></Node><Node id="12" type="children"><Node isStandard="0" standardId="null" isCostDe="0" kind="2" id="13" type="treeNode"><Node value="CODE002" id="14" type="code"></Node><Node value="kg" id="15" type="unit"></Node><Node value="Sub Item" id="16" type="name"></Node><Node value="Sub Attribute" id="17" type="projectAttr"></Node><Node value="50" id="18" type="quantity"></Node><Node value="5 * 10" id="19" type="quantityExpression"></Node><Node value="20" id="20" type="sbfPrice"></Node><Node value="1000" id="21" type="sbfTotal"></Node></Node></Node><Node color="red" type="color"></Node><Node color="red" type="color"></Node></Node></Node></Node>';
